package com.example.book_recommend.pojo;

import javax.validation.constraints.NotEmpty;

public class AddRight {
    @NotEmpty(message = "roleId 不能为空")
    private Integer roleId;

    @NotEmpty(message = "addRights 不能为空")
    private Integer[] addRights;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer[] getAddRights() {
        return addRights;
    }

    public void setAddRights(Integer[] addRights) {
        this.addRights = addRights;
    }
}
